Woocommerce\Pagarme\Controller\Checkout S

Total Complexity 43
Dependencies 10
Dependents 0
Total lines 232
Lines of code 160
Logical lines of code 99
Comment lines 8
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_fields()
A
51 10 27
validate_brands()
S
58 6 15
save_customer_card()
S
55 5 19
validate_amount_billet_and_card()
S
56 4 17
validate_amount_2_cards()
S
56 4 17
__construct()
S
52 3 23
build_installments()
S
56 3 17
parse_cards()
S
63 4 10
sanitize_field()
S
64 3 10
prepare_expiry_field()
S
70 1 5